package com.internetCafes.spms.common.module.excel.po;

import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * @author LinYe
 * @date 2020/10/27
 */
@Data
public class EmployeeInfoExcel {

    private static final long serialVersionUID = 1L;

    /**
     * 学历
     */
    @Excel(name = "学历", isImportField = "true")
    private String academic;

    /**
     * 姓名
     */
    @Excel(name = "姓名", isImportField = "true")
    private String name;

    /**
     * 性别
     */
    @Excel(name = "性别", replace = {"男_1", "女_2"}, isImportField = "true")
    private Integer gender;

    /**
     * 身份证
     */
    @Excel(name = "身份证", isImportField = "true")
    private String idCard;

    /**
     * 手机号码
     */
    @Excel(name = "手机号码", isImportField = "true")
    private String mobile;

    /**
     * 部门名称
     */
    @Excel(name = "部门名称", isImportField = "true")
    private String deptName;

    /**
     * 职位
     */
    @Excel(name = "职位", isImportField = "true")
    private String post;

    /**
     * 员工状态
     */
    @Excel(name = "员工状态", replace = {"离职_0", "在职_1"} ,isImportField = "true")
    private Integer onCompanyFlag;

    /**
     * 入职时间
     */
    @Excel(name = "入职时间", isImportField = "true", format = "yyyy.MM.dd")
    private Date entryTime;

    /**
     * 合同到期日期
     */
    @Excel(name = "合同到期日期", isImportField = "true", format = "yyyy.MM.dd")
    private Date contractExpirationTime;

    /**
     * 离职时间
     */
    @Excel(name = "离职时间", isImportField = "true", format = "yyyy.MM.dd")
    private Date companyEndTime;

    /**
     * 是否缴纳社保
     */
    @Excel(name = "是否缴纳社保", replace = {"否_0", "是_1"} ,isImportField = "true")
    private Integer socialSecurityFlag;

    /**
     * 参保日期
     */
    @Excel(name = "参保日期", isImportField = "true", format = "yyyy.MM.dd")
    private Date socialSecurityTime;

    /**
     * 是否是技术负责人
     */
    @Excel(name = "技术负责人", replace = {"否_0", "是_1"} ,isImportField = "true")
    private Integer directorFlag;

    /**
     * 负责内容
     */
    @Excel(name = "负责内容", isImportField = "true")
    private String directorFor;

    /**
     * 专业
     */
    @Excel(name = "专业", isImportField = "true" )
    private String schoolProfession;

    /**
     * 毕业时间
     */
    @Excel(name = "毕业时间", isImportField = "true", format = "yyyy.MM.dd")
    private Date graduateTime;

    /**
     * 婚姻状况
     */
    @Excel(name = "婚姻状况", replace = {"未婚_0", "已婚_1"} ,isImportField = "true")
    private Integer marriageFlag;

    /**
     * 备注
     */
    @Excel(name = "备注", isImportField = "true")
    private String remark;

    /**
     * 企业名称
     */
    @Excel(name = "企业名称", isImportField = "true")
    private String tenantName;

}
